const replacePathVariables = (path) => {
  // path = path + '123'
  // console.log('path== ', path)
  return path
}

const plugin = 'TemplatedPathPlugin'
class TemplatedPathPlugin {
  apply(compiler) {
    compiler.hooks.compilation.tap(plugin, compilation => {
      compilation.hooks.assetPath.tap(plugin, replacePathVariables)
    })
  }
}

module.exports = TemplatedPathPlugin